package com.human.server.mapper;

import com.human.server.entity.AssessmentFills;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.human.server.model.response.DepartmentFillStatus;

import java.util.List;

/**
 * <p>
 * 考核填写主表 Mapper 接口
 * </p>
 *
 * @author zooy
 * @since 2025-09-11
 */
public interface AssessmentFillsMapper extends BaseMapper<AssessmentFills> {

    /**
     * 统计每个部门的考核填写状态
     *
     * @param assessmentId 考核ID
     * @return 每个部门的考核填写状态统计
     */
    List<DepartmentFillStatus> countFillStatusByDepartment(Long assessmentId);
}
